package com.amsp.oa.oademo.mapper;

import com.amsp.oa.oademo.entity.VehicleApplication;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface VehicleApplicationMapper {
    int insert(VehicleApplication record);
    VehicleApplication selectById(Long id);
    List<VehicleApplication> selectByStatus(String status);
    int updateById(VehicleApplication record);
    
    // 添加新的方法
    int updateDispatchInfo(VehicleApplication record);
    int updateReturnInfo(VehicleApplication record);
    List<VehicleApplication> selectByMultiStatus(List<String> statusList);
} 